/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hhx.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 单表生成Entity
 * @author zmy
 * @version 2019-04-09
 */
public class HhxInvite extends DataEntity<HhxInvite> {
	
	private static final long serialVersionUID = 1L;
	private String inviteid;		// 邀请人id
	private String invitedid;		// 受邀人id
	private String status;		// 邀约状态0-未接受1-已接受2-已拒绝3-已取消
	private String intime;		// 邀请时间
	private String dealtime;		// 处理时间
	private String payamt;		// 支付金额
	private String comment;		// 评论
	
	public HhxInvite() {
		super();
	}

	public HhxInvite(String id){
		super(id);
	}

	@Length(min=0, max=32, message="邀请人id长度必须介于 0 和 32 之间")
	public String getInviteid() {
		return inviteid;
	}

	public void setInviteid(String inviteid) {
		this.inviteid = inviteid;
	}
	
	@Length(min=0, max=32, message="受邀人id长度必须介于 0 和 32 之间")
	public String getInvitedid() {
		return invitedid;
	}

	public void setInvitedid(String invitedid) {
		this.invitedid = invitedid;
	}
	
	@Length(min=0, max=2, message="邀约状态0-未接受1-已接受2-已拒绝3-已取消长度必须介于 0 和 2 之间")
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	
	@Length(min=0, max=20, message="邀请时间长度必须介于 0 和 20 之间")
	public String getIntime() {
		return intime;
	}

	public void setIntime(String intime) {
		this.intime = intime;
	}
	
	@Length(min=0, max=20, message="处理时间长度必须介于 0 和20 之间")
	public String getDealtime() {
		return dealtime;
	}

	public void setDealtime(String dealtime) {
		this.dealtime = dealtime;
	}
	
	@Length(min=0, max=10, message="支付金额长度必须介于 0 和 10 之间")
	public String getPayamt() {
		return payamt;
	}

	public void setPayamt(String payamt) {
		this.payamt = payamt;
	}
	
	@Length(min=0, max=100, message="评论长度必须介于 0 和 100 之间")
	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}
	
}